﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Ue.CQRS.Results
{
    public class SyncResult<TEventArgs> : IResult
    {
        public SyncResult(TEventArgs eventArgs)
        {
            this.EventArgs = eventArgs;
        }

        public TEventArgs EventArgs { get; private set; }

        #region IResult

        object IResult.EventArgs
        {
            get { return this.EventArgs; }
        }

        #endregion
    }
}
